package com.blog.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import com.blog.bean.Complaint;

/**
 * @className: IComplaintDao
 * @description: 
 * @author: HCl
 * @createTime: 2020年5月26日 下午8:15:02
 */
@Repository

@Mapper
public interface IComplaintDao {
	
	public List<Complaint> selectComplaintByUserId(Integer userid);
	public List<Complaint> selectAllComplaint();
	public int addComplaint(Complaint complaint);
	public int updateComplaint(Complaint complaint);
	public int deleteComplaintById(Integer id);
	
	

}
